@(user: org.scalaexercises.types.user.User)(implicit request: RequestHeader)

<li class="dropdown" id="loggedUser">
  <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    <img src="@user.pictureUrl" alt="@user.name"> @user.name
    <span class="caret"></span>
  </a>
  <ul class="dropdown-menu">
    <li><a href="@user.githubUrl">View on GitHub</a>
    </li>
    <li><a href="/logout">Logout</a>
    </li>
  </ul>
</li>
